﻿using TraumaCenterSystem.Code.Bll;
using TraumaCenterSystem.Core;
using TraumaCenterSystem.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace TraumaCenterSystem.Areas.TraumaCenter.Controllers
{
    public class InspectionResultController : BaseController
    {
        //
        // GET: /TraumaCenter/InspectionResult/
        /// <summary>
        /// 检验结果页面
        /// </summary>
        /// <returns></returns>
        public ActionResult Index()
        {
            return View();
        }

        public ContentResult Search()
        {
            string triageId = WebUtils.GetString("triageId");
            OperateResult result = InspectionResultManager.getCheckInfor(triageId);
            return JsonDate(result);
        }

    }
}
